using Newtonsoft.Json;

namespace WebPrinter.Library.DaQu.Result.Callback
{
    /// <summary>
    /// 回调结果
    /// </summary>
    public class CallbackResult
    {
        /// <summary>
        /// 回调业务类型（参见CallbackBizTypes）
        /// </summary>
        [JsonProperty("type")]
        public int Type { get; set; }

        /// <summary>
        /// 回调时间（unix timestamp 秒）
        /// </summary>
        [JsonProperty("rtime")]
        public long Rtime { get; set; }

        /// <summary>
        /// 业务json string
        /// </summary>
        [JsonProperty("data")]
        public string Data { get; set; }
    }
}